.search-bar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}

.search-bar-container br {
    display: none;
}

.search-bar:empty::before {
    content: "Suchen";
    opacity: 0.5;
}

.search-bar:empty {
    text-align: start;
    min-width: 2em;
    border-bottom: 2px solid var(--primary-color);
}

.search-bar {
    min-width: 5em;
    text-align: center;

    cursor: text;
    
    border-bottom: 2px solid var(--accent-color);
    transition: all 0.5s ease;
}


.recipe-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em; 
    justify-content: center;
    
    width: 90%;
    max-width: 1050px;
}

.recipe-grid-container a {
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding : .3em;
    margin: .1em;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 1/1;
    border-radius: 2%;
    border: solid var(--primary-color) .1em;
    transition: all .25s ease;
}

.recipe-grid-container a:hover {
    transform: scale(1.05); 
    border-color: var(--accent-color);
    border-width: .2em;
    margin: -0.105em; /* we have to account for the scaling factor*/
}

.recipe-grid-container .recipe-cell-header div {
    display: inline;
}

.recipe-grid-container a div {
    display: flex;
    flex-direction: column;
    color: var(--primary-text-color);
}
.recipe-grid-container a .recipe-cell-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.recipe-grid-container a .recipe-cell-footer div{
    display: flex;
}

.vegie-symbol svg {
    display: flex;
    width: 20px;
    height: 20px;
}

.vegie-symbol svg path {
    stroke: var(--vegie-color);
}


main {
    padding: 2em 0;

    display: flex;
    flex-direction: column;

    align-items: center;
}